package com.tqjc.execute.task.entity;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * @Description: 任务步骤关联类
 * @author: pzy
 * @date: 2023年05月16日 16:35
 */

@TableName(value = "task_step")
@Data
@EqualsAndHashCode(callSuper=false)
@DS("baotou")
@Schema(description = "任务部分表")
public class TaskStep extends Model implements Serializable, Cloneable {
    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    @Schema(description = "主键ID")
    private Integer id;
    /**
     * 所属任务类型
     */
    @Schema(description = "所属任务类型")
    private String taskType;
    /**
     * 步骤类型
     */
    @Schema(description = "步骤类型")
    private String stepType;
    /**
     * 任务次序
     */
    @Schema(description = "任务次序")
    private Integer order_num;
}
